projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
997dda0
)
swapped source and destination around in memcpy.
author
Øyvind Kolås
<ok@src.gnome.org>
Tue, 13 Nov 2007 02:37:20 +0000
(
02:37
+0000)
committer
Øyvind Kolås
<ok@src.gnome.org>
Tue, 13 Nov 2007 02:37:20 +0000
(
02:37
+0000)
* babl/babl-fish.c: (babl_fish_process): swapped source and
destination around in memcpy.
svn path=/trunk/; revision=252
babl/babl-fish.c
patch
|
blob
|
history
diff --git
a/babl/babl-fish.c
b/babl/babl-fish.c
index 95a0aad8f0d90fd7dc5f1ff27a005cfe4b316cbd..3d14b055a6717c2b640087118f0898f892c887f5 100644
(file)
--- a/
babl/babl-fish.c
+++ b/
babl/babl-fish.c
@@
-173,7
+173,7
@@
babl_fish_process (Babl *babl,
{
if (babl->fish.source == babl->fish.destination)
{ /* XXX: we're assuming linear buffers */
- memcpy (destination,
destination
, n * babl->fish.source->format.bytes_per_pixel);
+ memcpy (destination,
source
, n * babl->fish.source->format.bytes_per_pixel);
ret = n;
}
else